package com.kl.forum.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

@ApiModel(value = "文章对象",description = "")
public class Article {

    private  Integer pushFlag;
    private  Date pushTime;

    private  Integer isAdArticle;
    @ApiModelProperty(value = "健康号名称",example = "")
    private  String healthyName;
    @ApiModelProperty(value = "健康号头像 ",example = "")
    private  String healthyPic;

    private List<ArticlePic> picList;

    public List<ArticlePic> getPicList() {
        return picList;
    }

    public void setPicList(List<ArticlePic> picList) {
        this.picList = picList;
    }

    /**
     * 用户收藏状态
     */
    @ApiModelProperty(value = "用户收藏状态 1 收藏 0 没收藏",example = "1")
    private  Integer isCollect;

    public Integer getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(Integer isCollect) {
        this.isCollect = isCollect;
    }

    /**
     * 用户点赞状态
     */
    @ApiModelProperty(value = "是否点赞 1点赞 0没点赞",example = "1")
    private  Integer lightStatus;

    public Integer getLightStatus() {
        return lightStatus;
    }

    public void setLightStatus(Integer lightStatus) {
        this.lightStatus = lightStatus;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.id
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.health_num_id
     *
     * @mbggenerated
     */
    private Integer healthNumId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.health_num_name
     *
     * @mbggenerated
     */
    private String healthNumName;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.title
     *
     * @mbggenerated
     */
    private String title;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.view_num
     *
     * @mbggenerated
     */
    private Integer viewNum;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.create_time
     *
     * @mbggenerated
     */
    private Date createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.update_time
     *
     * @mbggenerated
     */
    private Date updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.status
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.is_del
     *
     * @mbggenerated
     */
    private Integer isDel;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.comment_num
     *
     * @mbggenerated
     */
    private Integer commentNum;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.light_num
     *
     * @mbggenerated
     */
    private Integer lightNum;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.video
     *
     * @mbggenerated
     */
    private String video;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.video_screenshots
     *
     * @mbggenerated
     */
    private String videoScreenshots;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.column_id
     *
     * @mbggenerated
     */
    private Integer columnId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.tag_id
     *
     * @mbggenerated
     */
    private Integer tagId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.level
     *
     * @mbggenerated
     */
    private Integer level;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.hot
     *
     * @mbggenerated
     */
    private Integer hot;
    private Integer type;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column kl_article.content
     *
     * @mbggenerated
     */
    private String content;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.id
     *
     * @return the value of kl_article.id
     *
     * @mbggenerated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.id
     *
     * @param id the value for kl_article.id
     *
     * @mbggenerated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.health_num_id
     *
     * @return the value of kl_article.health_num_id
     *
     * @mbggenerated
     */
    public Integer getHealthNumId() {
        return healthNumId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.health_num_id
     *
     * @param healthNumId the value for kl_article.health_num_id
     *
     * @mbggenerated
     */
    public void setHealthNumId(Integer healthNumId) {
        this.healthNumId = healthNumId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.health_num_name
     *
     * @return the value of kl_article.health_num_name
     *
     * @mbggenerated
     */
    public String getHealthNumName() {
        return healthNumName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.health_num_name
     *
     * @param healthNumName the value for kl_article.health_num_name
     *
     * @mbggenerated
     */
    public void setHealthNumName(String healthNumName) {
        this.healthNumName = healthNumName == null ? null : healthNumName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.title
     *
     * @return the value of kl_article.title
     *
     * @mbggenerated
     */
    public String getTitle() {
        return title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.title
     *
     * @param title the value for kl_article.title
     *
     * @mbggenerated
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.view_num
     *
     * @return the value of kl_article.view_num
     *
     * @mbggenerated
     */
    public Integer getViewNum() {
        return viewNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.view_num
     *
     * @param viewNum the value for kl_article.view_num
     *
     * @mbggenerated
     */
    public void setViewNum(Integer viewNum) {
        this.viewNum = viewNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.create_time
     *
     * @return the value of kl_article.create_time
     *
     * @mbggenerated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.create_time
     *
     * @param createTime the value for kl_article.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.update_time
     *
     * @return the value of kl_article.update_time
     *
     * @mbggenerated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.update_time
     *
     * @param updateTime the value for kl_article.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.status
     *
     * @return the value of kl_article.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.status
     *
     * @param status the value for kl_article.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.is_del
     *
     * @return the value of kl_article.is_del
     *
     * @mbggenerated
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.is_del
     *
     * @param isDel the value for kl_article.is_del
     *
     * @mbggenerated
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.comment_num
     *
     * @return the value of kl_article.comment_num
     *
     * @mbggenerated
     */
    public Integer getCommentNum() {
        return commentNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.comment_num
     *
     * @param commentNum the value for kl_article.comment_num
     *
     * @mbggenerated
     */
    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.light_num
     *
     * @return the value of kl_article.light_num
     *
     * @mbggenerated
     */
    public Integer getLightNum() {
        return lightNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.light_num
     *
     * @param lightNum the value for kl_article.light_num
     *
     * @mbggenerated
     */
    public void setLightNum(Integer lightNum) {
        this.lightNum = lightNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.video
     *
     * @return the value of kl_article.video
     *
     * @mbggenerated
     */
    public String getVideo() {
        return video;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.video
     *
     * @param video the value for kl_article.video
     *
     * @mbggenerated
     */
    public void setVideo(String video) {
        this.video = video == null ? null : video.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.video_screenshots
     *
     * @return the value of kl_article.video_screenshots
     *
     * @mbggenerated
     */
    public String getVideoScreenshots() {
        return videoScreenshots;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.video_screenshots
     *
     * @param videoScreenshots the value for kl_article.video_screenshots
     *
     * @mbggenerated
     */
    public void setVideoScreenshots(String videoScreenshots) {
        this.videoScreenshots = videoScreenshots == null ? null : videoScreenshots.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.column_id
     *
     * @return the value of kl_article.column_id
     *
     * @mbggenerated
     */
    public Integer getColumnId() {
        return columnId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.column_id
     *
     * @param columnId the value for kl_article.column_id
     *
     * @mbggenerated
     */
    public void setColumnId(Integer columnId) {
        this.columnId = columnId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.tag_id
     *
     * @return the value of kl_article.tag_id
     *
     * @mbggenerated
     */
    public Integer getTagId() {
        return tagId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.tag_id
     *
     * @param tagId the value for kl_article.tag_id
     *
     * @mbggenerated
     */
    public void setTagId(Integer tagId) {
        this.tagId = tagId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.level
     *
     * @return the value of kl_article.level
     *
     * @mbggenerated
     */
    public Integer getLevel() {
        return level;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.level
     *
     * @param level the value for kl_article.level
     *
     * @mbggenerated
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.hot
     *
     * @return the value of kl_article.hot
     *
     * @mbggenerated
     */
    public Integer getHot() {
        return hot;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.hot
     *
     * @param hot the value for kl_article.hot
     *
     * @mbggenerated
     */
    public void setHot(Integer hot) {
        this.hot = hot;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kl_article.content
     *
     * @return the value of kl_article.content
     *
     * @mbggenerated
     */
    public String getContent() {
        return content;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kl_article.content
     *
     * @param content the value for kl_article.content
     *
     * @mbggenerated
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getHealthyName() {
        return healthyName;
    }

    public void setHealthyName(String healthyName) {
        this.healthyName = healthyName;
    }

    public String getHealthyPic() {
        return healthyPic;
    }

    public void setHealthyPic(String healthyPic) {
        this.healthyPic = healthyPic;
    }

    public Integer getIsAdArticle() {
        return isAdArticle;
    }

    public void setIsAdArticle(Integer isAdArticle) {
        this.isAdArticle = isAdArticle;
    }

    public Integer getPushFlag() {
        return pushFlag;
    }

    public void setPushFlag(Integer pushFlag) {
        this.pushFlag = pushFlag;
    }

    public Date getPushTime() {
        return pushTime;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }
}